package com.lzxuni.mapper;

import com.lzxuni.po.QxData;
import com.lzxuni.po.QxDataCostom;
import com.lzxuni.po.SheBei;
import com.lzxuni.po.YongHu;

import java.sql.SQLException;
import java.util.List;

public interface SheBeiMapper {
    // 设备列表
    List<SheBei> findList() throws SQLException;

    //添加设备
    void addSheBei(SheBei demo) throws SQLException;

    //修改最近更改时间
    void updateSheBeiLastTime(String id) throws SQLException;
    //根据userkey修改username
    void updateSheBeiuserName(SheBei demo) throws SQLException;

    //根据表明查询设备
    List<SheBei> findSheBei(String tableName) throws SQLException;

    //根据userkey查询设备
    SheBei findSheBeiById(String userkey) throws SQLException;

    //根据表明查询设备
    List<QxData> findqxsjBytableName(String tableName) throws SQLException;

    //接口查询表数据
    List<QxDataCostom> findqxsjlist(QxDataCostom demo) throws SQLException;
    //接口查询表数据 最新一条
    List<QxDataCostom> findqxsjone(QxDataCostom demo) throws SQLException;




}
